<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <h1>{{msg}}</h1>
        <h1>表单修饰符：</h1>
        <!-- .lazy:延迟到 change 发生  -->
        <input type="text" v-model.lazy="msg">
        <!-- .number:将其它类型转换成数字类型 -->
        <input type="text" v-model.number="age">
        <!-- .trim:去掉头尾的空格 -->
        <input type="text" v-model.trim="msg">
    </div>
    <script src="./node_modules/vue/dist/vue.js"></script>
    <script>
        let vm=new Vue({
            el:"#app",
            data:{
                msg:"/(ㄒoㄒ)/~~",
                age:"123"
            }




        })







    </script>

</body>
</html>